package com.glory.njcleanrpt

import grails.transaction.Transactional

@Transactional
class CommonSQLService {

    def dynamicQueryService

    def serviceMethod() {
    }

    def customNameList(Map map) {
        dynamicQueryService.queryForList([SYS_QUERY_NAME: 'customNameList', orgid: map.orgid])
    }

    def stepNameList(Map map) {
        dynamicQueryService.queryForList([SYS_QUERY_NAME: 'stepNameList', orgid: map.orgid])
    }

    def poStateList(Map map) {
        dynamicQueryService.queryForList([SYS_QUERY_NAME: 'poStateList', orgid: map.orgid])
    }
}